package com.xc.erp.modules.erp.domain.vo;

import lombok.AccessLevel;
import lombok.Data;
import lombok.Getter;

@Data
public class DepotMaterialVo {
    private String q;
    private Long categoryId;

    private Long depotId;
    @Getter(AccessLevel.NONE)
    private Long page;

    private Long rows;

    private Long enableSerialNumber;
    private Long enableBatchNumber;
    public Long getPage(){
        return (page-1)*rows;
    }
}
